package com.wdy.abstractfactory;

/**
 * @ClassName: ElfKingdomFactory
 * @Description: TODO
 * @Date: 2019/12/30 12:50
 * @Author: wangdy001
 * @Version: 1.0
 */
public class ElfKingdomFactory implements KingdomFactory {
    @Override
    public Castle createCastle() {
        return new ElfCastle();
    }

    @Override
    public Army createArmy() {
        return new ElfArmy();
    }
}
